Introduction

Mac

Install R

  1. Go to https://cran.rstudio.com/bin/macosx/.

  2. Select the latest available version of R to install. As of 2020-08-17 the latest version was R-4.0.2.pkg.

  3. Click on the link for the latest version to download the most current version of R.

  4. Complete the installation process as demonstrated in the following video.

Install RStudio

  1. Go to https://rstudio.com/products/rstudio/download/#download.

  2. RStudio will recommend the latest version for your operating system at the top of your web browser with a blue download button. Click this button to download RStudio.

  3. Complete the installation process as demonstrated in the following video.

Open and Setup RStudio

  1. Go to your applications folder and launch RStudio. RStudio will automatically detect your R installation.

  2. In the top menu bar go to Tools > Global Options

  3. On the Pane Layout tab arrange your windows as shown below

  1. On the Appearance tab
  • Select Modern for your RStudio theme
  • Select “Cobalt” for your editor theme

RMarkdown Example

Install Packages

Markdown Example